class Film {
    constructor(
        public sortId?:number,
        public filmId?:number,
        public source?:number,
        public filmName?:string,
        public filmYear?:number,
        public filmTypes?:string,
        public filmDesc?:string,
        public filmImg?:string,
        public castNames?:string,
        public castList?:string,
        public typeId?:number,
        public count?:number,
    ){}
}

var film1:Film = new Film();


var film2:Film = {
    sortId : 1,
    source :5,
    filmName : "蚁人2：黄蜂女现身"
}

// var film3:Object = new Film() 